//
//  AppDelegate.m
//  LearnGit
//
//  Created by OADUser on 2018/6/4.
//  Copyright © 2018年 OADUser. All rights reserved.
//

#import "AppDelegate.h"
#import "ViewController.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    self.window = [[UIWindow alloc]init];
    // window跟屏幕一样大
    self.window.frame = [UIScreen mainScreen].bounds;
    // window背景色
    self.window.backgroundColor = [UIColor redColor];
    
//
    ViewController *mainVC =[[ViewController alloc] init];

    
    
    
    self.window.rootViewController = mainVC;

    return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application {

}


- (void)applicationDidEnterBackground:(UIApplication *)application {

}


- (void)applicationWillEnterForeground:(UIApplication *)application {

}


- (void)applicationDidBecomeActive:(UIApplication *)application {

}


- (void)applicationWillTerminate:(UIApplication *)application {

}


@end
